9f74e44d6ff8b38b6acb6ea544fd7294de8ff199,community/kernel/src/main/java/org/neo4j/kernel/impl/store/counts/CountsTracker.java,CountsTracker,createEmptyCountsStore,#PageCache#File#String#,135

Before Change



    public static void createEmptyCountsStore( PageCache pageCache, File file, String version )
    {
        CountsStore.createEmpty( pageCache, storeFile( file, ALPHA ), version );
    }

    public boolean acceptTx( long txId )

After Change


        // create both files initially to avoid problems with unflushed metadata
        // increase alpha minor version by 1 to ensure that we use alpha after creating the store

        File alpha = storeFile( file, ALPHA );
        CountsStore.createEmpty( pageCache, alpha, with( storeVersion, BASE_TX_ID, BASE_MINOR_VERSION + 1 ) );

        File beta = storeFile( file, BETA );